using System;
using System.Collections.Generic;
using System.Text;
using FlatRedBall;
using FlatRedBall.Input;
using FlatRedBall.AI.Pathfinding;
using FlatRedBall.Graphics.Animation;
using FlatRedBall.Graphics.Particle;

using FlatRedBall.Graphics.Model;
using FlatRedBall.Math.Geometry;
using FlatRedBall.Math.Splines;

using Cursor = FlatRedBall.Gui.Cursor;
using GuiManager = FlatRedBall.Gui.GuiManager;

#if FRB_XNA || SILVERLIGHT
using Keys = Microsoft.Xna.Framework.Input.Keys;
using Vector3 = Microsoft.Xna.Framework.Vector3;
using Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D;
#endif

using Gnome.Entities;
using Gnome.Engine;
using Microsoft.Xna.Framework;

namespace Gnome.Screens
{
	public partial class LevelOne
	{

        public void CustomInitialize()
        {
            loadObjectsFromSprites(level2);
        }

        /*
         * Check how many items there are on the map. If there are too few items, add more
         */
		public void CustomActivity(bool firstTimeCalled)
        {
            if (firstTimeCalled && GlobalData.FirstGame)
            {
                togglePause();
                LoadPopup(typeof(InGameInstructions).FullName, true);
                GlobalData.FirstGame = false;
            }
/*            if (IsPaused)
            {
                bool loadNewLayer = false; // or true if you want it on a new layer
                LoadPopup(typeof(PauseScreen).FullName, loadNewLayer);
            }*/
		}

		public void CustomDestroy()
		{

		}

        private static void CustomLoadStaticContent(string contentManagerName)
        {


        }

	}
}
